package com.fable.dal.mapper;

import com.fable.dal.model.UserLogDO;
import com.fable.dal.model.UserLogquery;

import java.util.List;

import org.apache.ibatis.annotations.Param;

/**
 * MyBatis Mapper for UserLog.
 */
public interface UserLogMapper {
    /**
     * query count by query condition.
     */
    int countByquery(UserLogquery query);

    /**
     * delete by query condition.
     */
    int deleteByquery(UserLogquery query);

    /**
     * delete by primary key.
     */
    int deleteByPrimaryKey(UserLogDO record);

    /**
     * insert selective.
     */
    int insertSelective(UserLogDO record);

    /**
     * select by query condition.
     */
    List<UserLogDO> selectByquery(UserLogquery query);

    /**
     * select by primary key.
     */
    UserLogDO selectByPrimaryKey(Long id);

    /**
     * update by query condition selective.
     */
    int updateByquerySelective(@Param("record") UserLogDO record, @Param("query") UserLogquery query);

    /**
     * update by query condition.
     */
    int updateByquery(@Param("record") UserLogDO record, @Param("query") UserLogquery query);

    /**
     * update by primary key selective.
     */
    int updateByPrimaryKeySelective(UserLogDO record);
}